<app-header title="我的钱包"></app-header>

<ion-content>
  <!-- FIL钱包 -->
  <div *ngIf="!ispwd">
    <div class="w96">
      <div class="h_title">
        <span class="s_span">FIL钱包</span>
      </div>
      <div *ngIf="isfil == ''" [routerLink]="['/mine/bindwallet']" [queryParams]="{name:'fil'}" class='walltet_box pool_bg'>
        <p>*您还未绑定FIL钱包</p>
        <button class="buttons">前往绑定</button>
      </div>
      <div *ngIf="isfil !== ''" class="invitefriends">
        <div>
          <div class="pool_bg">
            <p class="sp">钱包地址</p>
            <p class="sp1">{{isfil}}</p> 
            <input type="text" #copy [value]="isfil" disabled style="display: none;">
          </div>
          <p class="sp2"><span (click)="onCopy()">复制</span><span (click)="onjb()">解绑</span></p>
        </div>
      </div>
    </div>

    <!-- XCH钱包 -->
    <div class="w96">
      <div class="h_title">
        <span class="s_span">XCH</span>
      </div>
      <div *ngIf="isxch == ''" class='walltet_box pool_bg'>
        <p>*您还未绑定XCH钱包</p>
        <button class="buttons" [routerLink]="['/mine/bindwallet']" [queryParams]="{name:'xch'}">前往绑定</button>
      </div>
      <div *ngIf="isxch !== ''" class="invitefriends">
        <div>
          <div class="pool_bg">
            <p class="sp">钱包地址</p>
            <p class="sp1">{{isxch}}</p> 
            <input type="text" #copy2 [value]="isxch" disabled style="display: none;">
          </div>
          <p class="sp2"><span (click)="onCopy2()">复制</span><span (click)="onjb2()">解绑</span></p>
        </div>
      </div>
    </div>
  </div>

  <div *ngIf="ispwd">
    <div class="passwordset">
      <img src="assets/img/s4.png" alt="">
      <input type="password" maxlength="6" placeholder="请输入6位支付密码" [(ngModel)]="password">
    </div>
    <button class="button buttons" (click)="confirmB()">确认</button>
  </div>


</ion-content>
